import Vue from 'vue'
import App from './App.vue'
import router from './router'

if (process.env.NODE_ENV === 'development') {
  Vue.prototype.$pre = 'http://localhost:2000'
} else {
  Vue.prototype.$pre = ''
}

//vant

import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);
//-->


import "./assets/css/reset.css"
import "./assets/js/rem"

import "animate.css"

import "./assets/css/iconfont.css"



import {CommonComponent} from "./components"
Vue.use(CommonComponent)


// 3.过滤器
import "./filters"
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
